<#include "macro_.ftl">
package ${packageCode}.${moduleMapperKey}.dto;

import javax.persistence.Transient;

import ${packageCode}.${moduleMapperKey}.po.${poMapper.code};

/**
 * <@defaultIfBlank str="${poMapper.remarks!}" defaultSt="${poMapper.code!}"/>
 *
 * @author ${author!'haitao.yao'}
 * 
 */
public class ${poMapper.code}Dto extends ${poMapper.code} {
	/**
	 * 版本号
	 */
	@Transient
	private static final long serialVersionUID = ${serialVersionUID!'1'}L;
	
	/**
	 * 标识集合
	 */
	@Transient
	private String[] ids;

	/**
	 * 分页号
	 */
	@Transient
	int paginationNo;

	/**
	 * 分页大小
	 */
	@Transient
	int paginationSize;

	/**
	 * @return 标识集合
	 */
	public String[] getIds() {
		return this.ids;
	}

	/**
	 * 获取
	 * 
	 * @return 分页号
	 */
	public int getPaginationNo() {
		return this.paginationNo;
	}

	/**
	 * 获取
	 * 
	 * @return 分页大小
	 */
	public int getPaginationSize() {
		return this.paginationSize;
	}

	/**
	 * 获取
	 * 
	 * @param ids
	 *            标识集合
	 * @return <@defaultIfBlank str="${poMapper.remarks!}" defaultSt="${poMapper.code!}"/>
	 */
	public ${poMapper.code}Dto setIds(final String[] ids) {
		this.ids = ids;

		return this;
	}

	/**
	 * 设置
	 * 
	 * @param paginationNo
	 *            分页号
	 * @return <@defaultIfBlank str="${poMapper.remarks!}" defaultSt="${poMapper.code!}"/>
	 */
	public ${poMapper.code}Dto setPaginationNo(final int paginationNo) {
		this.paginationNo = paginationNo;

		return this;
	}

	/**
	 * 设置
	 * 
	 * @param paginationSize
	 *            分页大小
	 * @return <@defaultIfBlank str="${poMapper.remarks!}" defaultSt="${poMapper.code!}"/>
	 */
	public ${poMapper.code}Dto setPaginationSize(final int paginationSize) {
		this.paginationSize = paginationSize;

		return this;
	}
}